const go/types.value
70 uses
go/types (current package)
api.go#L411: case constant_, variable, mapindex, value, commaok, commaerr:
api.go#L420: return tv.mode == value && tv.Type == Typ[UntypedNil]
api_predicates.go#L34: x := operand{mode: value, typ: V}
api_predicates.go#L45: x := operand{mode: value, typ: V}
assignments.go#L33: case constant_, variable, mapindex, value, commaok, commaerr:
builtins.go#L128: x.mode = value
builtins.go#L141: x.mode = value
builtins.go#L159: mode = value
builtins.go#L164: mode = value
builtins.go#L179: mode = value
builtins.go#L183: mode = value
builtins.go#L205: mode = value
builtins.go#L352: x.mode = value
builtins.go#L385: x.mode = value
builtins.go#L480: x.mode = value
builtins.go#L530: x.mode = value
builtins.go#L573: x.mode = value
builtins.go#L580: x.mode = value
builtins.go#L609: x.mode = value
builtins.go#L662: x.mode = value
builtins.go#L682: x.mode = value
builtins.go#L696: x.mode = value
builtins.go#L748: mode := value
builtins.go#L760: x.mode = value
builtins.go#L784: x.mode = value
builtins.go#L815: x.mode = value
builtins.go#L831: x.mode = value
builtins.go#L851: x.mode = value
builtins.go#L866: x.mode = value
call.go#L105: args = []*operand{{mode: value, expr: expr, typ: T.sig}}
call.go#L129: x.mode = value
call.go#L180: assert(x.mode == value)
call.go#L305: check.recordTypeAndValue(call.Fun, value, sig, nil)
call.go#L316: x.mode = value
call.go#L320: x.mode = value
call.go#L328: if x.mode == value && sig.TypeParams().Len() > 0 && isParameterized(sig.TypeParams().list(), x.typ) {
call.go#L411: resList[i] = &operand{mode: value, expr: e, typ: v.typ}
call.go#L696: funcMode := value
call.go#L757: x.mode = value
call.go#L883: x.mode = value
call.go#L901: x.mode = value
call.go#L955: x.mode = value
call.go#L1002: x.mode = value // anything but invalid
conversions.go#L82: x.mode = value // type parameters are not constants
conversions.go#L86: x.mode = value
expr.go#L145: x.mode = value
expr.go#L204: x.mode = value
expr.go#L535: x.mode = value
expr.go#L715: x.mode = value
expr.go#L727: x.mode = value
expr.go#L843: x.mode = value
expr.go#L1253: list[i] = &operand{mode: value, expr: e, typ: v.typ}
expr.go#L1261: x2 := &operand{mode: value, expr: e, typ: Typ[UntypedBool]}
expr.go#L1322: if x.mode == value {
index.go#L38: case value:
index.go#L64: x.mode = value
index.go#L72: x.mode = value
index.go#L119: mode = value
index.go#L125: mode = value
index.go#L276: x.mode = value
literals.go#L103: x.mode = value
literals.go#L345: x.mode = value
operand.go#L32: value // operand is a computed value
operand.go#L47: value: "value",
operand.go#L127: if x.mode == value && x.typ == Typ[UntypedNil] {
operand.go#L302: return x.mode == value && x.typ == Typ[UntypedNil]
stmt.go#L967: y.mode = value
stmt.go#L1008: y.mode = value
typexpr.go#L132: x.mode = value
typexpr.go#L139: x.mode = value